import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";

Vue.config.productionTip = false;
import axios from "axios";
//引入axios
Vue.prototype.$axios = axios;
// 把axios挂载在vue的原型上，并且起一个名字叫$axios，能够被所有的vue实例所共享,也就是所有的.vue文件都能用

new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount("#app");
